package com.jeomo.mem.provider.request;

import com.jeomo.common.core.request.BaseRequest;

import java.time.LocalDate;

/**
 * 会员积分活动规则
 * @author:Jackpot
 * @create 2020-09-28 14:51
 * @description:
 */
public class MemberPointsActivityRuleRequest extends BaseRequest {

    /** 编码*/
    private String code;
    /** 名称*/
    private String name;
    /** 活动*/
    private String activityCode;
    /** 活动名称*/
    private String activityName;
    /** 使用范围*/
    private Integer useRange;
    /** 使用会员等级*/
    protected String useLevels;
    /** 使用等级:编码 */
    private String[] levelCodes;
    /** 使用等级:名称 */
    private String[] levelNames;
    /** 消费区间下限*/
    private Integer priceFloor;
    /** 消费区间上限*/
    private Integer priceCeiling = Integer.MAX_VALUE;
    /**活动时间(从)*/
    private LocalDate dateFrom;
    /**活动时间(到)*/
    private LocalDate dateTo;
    /** 有效期(天)*/
    private Integer validityDay;
    /** 启用标识*/
    private Boolean startFlag = true;
    /** 备注*/
    private String memo;
    private String staff;
    private String dept;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getActivityCode() {
        return activityCode;
    }

    public void setActivityCode(String activityCode) {
        this.activityCode = activityCode;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public Integer getUseRange() {
        return useRange;
    }

    public void setUseRange(Integer useRange) {
        this.useRange = useRange;
    }

    public String getUseLevels() {
        return useLevels;
    }

    public void setUseLevels(String useLevels) {
        this.useLevels = useLevels;
    }

    public String[] getLevelCodes() {
        return levelCodes;
    }

    public void setLevelCodes(String[] levelCodes) {
        this.levelCodes = levelCodes;
    }

    public String[] getLevelNames() {
        return levelNames;
    }

    public void setLevelNames(String[] levelNames) {
        this.levelNames = levelNames;
    }

    public Integer getPriceFloor() {
        return priceFloor;
    }

    public void setPriceFloor(Integer priceFloor) {
        this.priceFloor = priceFloor;
    }

    public Integer getPriceCeiling() {
        return priceCeiling;
    }

    public void setPriceCeiling(Integer priceCeiling) {
        this.priceCeiling = priceCeiling;
    }

    public LocalDate getDateFrom() {
        return dateFrom;
    }

    public void setDateFrom(LocalDate dateFrom) {
        this.dateFrom = dateFrom;
    }

    public LocalDate getDateTo() {
        return dateTo;
    }

    public void setDateTo(LocalDate dateTo) {
        this.dateTo = dateTo;
    }

    public Integer getValidityDay() {
        return validityDay;
    }

    public void setValidityDay(Integer validityDay) {
        this.validityDay = validityDay;
    }

    public Boolean getStartFlag() {
        return startFlag;
    }

    public void setStartFlag(Boolean startFlag) {
        this.startFlag = startFlag;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getStaff() {
        return staff;
    }

    public void setStaff(String staff) {
        this.staff = staff;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }
}
